package com.website.view.component
{
	import com.website.util.Constant;
	
	import flash.text.AntiAliasType;
	import flash.text.GridFitType;
	import flash.text.TextField;
	import flash.text.TextFormat;
	
	public class BakhTextFiled extends TextField
	{
		
		private var _textFormat:TextFormat;
		public function BakhTextFiled(textStr:String,textSize:int = 14, textColor:String = "0x777777", textFont:String = "")
		{
			super();
			_textFormat = new TextFormat();
			_textFormat.size = textSize;
			_textFormat.letterSpacing = 0;
			_textFormat.leftMargin = 0;
			_textFormat.rightMargin = 0;
			_textFormat.color = textColor;
			autoSize = "left";
			antiAliasType = AntiAliasType.ADVANCED;
			gridFitType = GridFitType.PIXEL;
			defaultTextFormat = _textFormat;
			text = textStr;
		}
	}
}